<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <link crossorigin="anonymous" rel="stylesheet" href="/cuishifeng/assets/css/githubassets-assets-frameworks.css">
    <link crossorigin="anonymous" rel="stylesheet" href="/cuishifeng/assets/css/githubassets-assets-github.css">
    <script src="https://cdn.bootcdn.net/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
    <link href="https://cdn.bootcdn.net/ajax/libs/highlight.js/10.5.0/styles/github.min.css" rel="stylesheet">
    <script>hljs.initHighlightingOnLoad();</script>
    <title>cuishifeng's wiki</title>
    <style>
        .gh-header-meta {
            padding-bottom: 16px;
            margin-top: 8px;
            font-size: 14px;
            color: #586069;
            border-bottom: 0px !important;
        }
        *{
            background-color: #F9F9F5 !important;
        }
        .bg-gray-light{
            background-color: #F9F9F5 !important;
        }
    </style>
</head><body class="logged-in env-production page-responsive intent-mouse">
<div id="app" class="application-main " data-commit-hovercards-enabled="">
    <main>
        <!-- 顶部-->
        <div id="pagehead-top" class="pagehead repohead hx_repohead readability-menu bg-gray-light pb-0 pt-0 pt-lg-5">
    <!-- d-none d-lg-flex-->
    <div class="d-flex container-lg mb-4 p-responsive d-none d-lg-flex">
        <div class="flex-auto min-width-0 width-fit mr-3">
            <h1 class="public  d-flex flex-wrap flex-items-center break-word float-none ">
                          <span class="flex-self-stretch" style="margin-top: -2px;">
                              <img id="headImage" class="avatar" alt="jonrohan" width="72" height="72"/>
                          </span>
                <span class="author ml-2 flex-self-stretch" itemprop="author">
                                <a id="webName" class="url fn" rel="author">cuishifeng's wiki</a>
                                <div id="webDesc" class="mt-2 mt-md-1 pb-3 gh-header-meta">hello åå</div>
                            </span>
            </h1>
        </div>
    </div>

</div>
        <!--内容 -->
        <transition>
            <div class=" container-lg clearfix new-discussion-timeline  p-responsive">
                <div class="repository-content ">
                    <div id="wiki-wrapper" class="page">

                        <div class="d-flex flex-column flex-md-row gh-header">
                            <h1 class="flex-auto min-width-0 mb-2 mb-md-0 mr-0 mr-md-2 gh-header-title">
                                ZXZxin的java学习笔记.md
                            </h1>
                            <div class="mt-0 mt-lg-1 flex-shrink-0 gh-header-actions">
                                <a href="#wiki-pages-box" class="d-md-none ">Jump to bottom</a>
                            </div>
                        </div>

                        <div class="mt-2 mt-md-1 pb-3 gh-header-meta ">
                            发表于
                            <relative-time class="no-wrap">2021年4月27日</relative-time>
                            ·
                            <a class="muted-link">
                                记录各种学习笔记(算法、Java、数据库、并发......)
                            </a>
                        </div>
                        <div id="wiki-content" class="mt-4">
                            <div class="gutter-condensed gutter-lg flex-column flex-md-row d-flex">
                                <div class="flex-shrink-0 col-12 col-md-9 mb-4 mb-md-0">
                                    <div id="wiki-body" class="gollum-markdown-content">
                                        <!--内容体-->
                                        <div class="markdown-body">
                                            <h1><a href="#cs-learn-notes" id="cs-learn-notes" class="anchor"></a>CS Learn Notes</h1>
<p>更新  <strong>Java/大数据/C++/Go</strong> 等技术笔记。</p>
<p>目前还不完善，正在不断更新。</p>
<h2><a href="#一算法" id="一算法" class="anchor"></a>一、算法</h2>
<p><a href="Algorithm/">刷题</a></p>
<p><strong>下面的三个专栏得到了大部分人的点赞，推荐给大家</strong></p>
<ul>
  <li><a href="Algorithm/InterviewAlgorithm.md"><strong>30个笔试面试模板题</strong></a></li>
  <li><a href="Algorithm/LeetCode/LeetCodeSolutionIndex.md"><strong>图解LeetCode</strong></a></li>
  <li><a href="Algorithm/Other/%E5%89%91%E6%8C%87Offer/"><strong>图解剑指Offer</strong></a></li>
</ul>
<p>OJ:  <code>Codeforces</code>、<code>LeetCode</code>、<code>NowCoder</code>。</p>
<blockquote>
  <p>之前在牛客网发的两篇帖子，算是给自己项目做了一个推广 <sup>_</sup></p>
  <ul>
    <li><a href="https://www.nowcoder.com/discuss/171791">https://www.nowcoder.com/discuss/171791</a></li>
    <li><a href="https://www.nowcoder.com/discuss/177397">https://www.nowcoder.com/discuss/177397</a></li>
  </ul>
</blockquote>
<p><a href="Algorithm/DataStructure/">数据结构和算法</a></p>
<p>部分文章：</p>
<ul>
  <li><a href="Algorithm/DataStructure/Algorithm/BinarySearch/%E4%BA%8C%E5%88%86%E6%9F%A5%E6%89%BE%E7%9A%84%E6%80%BB%E7%BB%93(6%E7%A7%8D%E5%8F%98%E5%BD%A2).md">二分查找的总结-6种变形</a></li>
  <li><a href="Algorithm/DataStructure/Algorithm/Sort/%E5%90%84%E7%A7%8D%E6%8E%92%E5%BA%8F%E7%AE%97%E6%B3%95%E6%80%BB%E7%BB%93(%E5%85%A8%E9%9D%A2).md">各种排序算法的总结-10多种</a></li>
  <li><a href="Algorithm/DataStructure/Tree/%E4%BA%8C%E5%8F%89%E6%A0%91%E7%9A%84%E5%90%84%E7%A7%8D%E6%93%8D%E4%BD%9C(%E9%80%92%E5%BD%92%E5%92%8C%E9%9D%9E%E9%80%92%E5%BD%92%E9%81%8D%E5%8E%86,%E6%A0%91%E6%B7%B1%E5%BA%A6,%E7%BB%93%E7%82%B9%E4%B8%AA%E6%95%B0%E7%AD%89%E7%AD%89).md">二叉树的各种操作</a></li>
  <li><a href="Algorithm/DataStructure/Graph/%E5%85%B3%E9%94%AE%E8%B7%AF%E5%BE%84/Hdu%20-%204109.%20Instrction%20Arrangement%E4%BB%A5%E5%8F%8A%E5%85%B3%E9%94%AE%E8%B7%AF%E5%BE%84%E8%AF%A6%E8%A7%A3.md">关键路径详解</a></li>
  <li><a href="Algorithm/DataStructure/Graph/%E6%9C%80%E5%B0%8F%E7%94%9F%E6%88%90%E6%A0%91/Hdu%20-%201863.%20%E7%95%85%E9%80%9A%E5%B7%A5%E7%A8%8B(%E6%9C%80%E5%B0%8F%E7%94%9F%E6%88%90%E6%A0%91%E6%A8%A1%E6%9D%BF%E9%A2%98)(Kruskal%E7%AE%97%E6%B3%95%E5%92%8CPrim%E7%AE%97%E6%B3%95%E5%AE%9E%E7%8E%B0).md">最小生成树两种算法</a></li>
  <li><a href="Algorithm/DataStructure/Graph/%E6%9C%80%E7%9F%AD%E8%B7%AF/Hdu%20-%201874.%20%E7%95%85%E9%80%9A%E5%B7%A5%E7%A8%8B%E7%BB%AD(%E6%9C%80%E7%9F%AD%E8%B7%AFdijkstra%E6%A8%A1%E6%9D%BF).md">最短路径算法</a></li>
  <li><a href="Algorithm/DataStructure/DataStructure/List/%E9%93%BE%E8%A1%A8%E3%80%81%E6%A0%88%EF%BC%8C%E9%98%9F%E5%88%97%E7%9A%84%E6%80%BB%E7%BB%93%E4%B8%8E%E5%AE%9E%E7%8E%B0.md">链表、栈、队列实现</a></li>
  <li><a href="Algorithm/DataStructure/Tree/%E5%93%88%E5%A4%AB%E6%9B%BC%E6%A0%91%E5%92%8C%E5%93%88%E5%A4%AB%E6%9B%BC%E7%BC%96%E7%A0%81%E6%80%BB%E7%BB%93.md">哈夫曼树和哈夫曼编码</a></li>
  <li><a href="Algorithm/DataStructure/Tree/%E7%BA%BF%E7%B4%A2%E4%BA%8C%E5%8F%89%E6%A0%91%E5%AD%A6%E4%B9%A0%E6%80%BB%E7%BB%93.md">线索二叉树</a></li>
  <li><a href="Algorithm/DataStructure/Tree/%E4%BA%8C%E5%8F%89%E6%8E%92%E5%BA%8F%E6%A0%91%E7%9B%B8%E5%85%B3%E6%80%BB%E7%BB%93.md">二叉搜索树</a></li>
  <li><a href="Algorithm/DataStructure/Tree/%E5%B9%B3%E8%A1%A1%E4%BA%8C%E5%8F%89%E6%A0%91%E6%80%BB%E7%BB%93.md">平衡二叉树</a></li>
  <li><a href="Algorithm/DataStructure/DataStructure/Trie/LeetCode%20-%20208.%20Implement%20Trie%20(Prefix%20Tree)%E4%BB%A5%E5%8F%8A%E5%AE%9E%E7%8E%B0%E5%AD%97%E5%85%B8%E6%A0%91(%E5%89%8D%E7%BC%80%E6%A0%91).md">字典树</a></li>
  <li><a href="Algorithm/DataStructure/DataStructure/SegmentTree/%E7%BA%BF%E6%AE%B5%E6%A0%91%E6%80%BB%E7%BB%93%E4%BB%A5%E5%8F%8ALeetCode%20-%20307.%20Range%20Sum%20Query%20-%20Mutable.md">线段树</a></li>
  <li><a href="Algorithm/DataStructure/Math/Hdu%20-%201431%E7%B4%A0%E6%95%B0%E5%9B%9E%E6%96%87%E4%BB%A5%E5%8F%8A%E7%B4%A0%E6%95%B0%E7%9B%B8%E5%85%B3%E6%80%BB%E7%BB%93.md">素数筛法</a></li>
  <li><a href="Algorithm/DataStructure/Math/%E4%B9%98%E6%B3%95%E5%BF%AB%E9%80%9F%E5%B9%82%E7%9B%B8%E5%85%B3%E6%80%BB%E7%BB%93%20&amp;%20LeetCode%20-%2050.%20Pow.md">乘法快速幂</a></li>
  <li><a href="Algorithm/DataStructure/Math/%E7%9F%A9%E9%98%B5%E7%9B%B8%E5%85%B3%E6%93%8D%E4%BD%9C%E5%92%8C%E7%9F%A9%E9%98%B5%E5%BF%AB%E9%80%9F%E5%B9%82.md">矩阵快速幂</a></li>
  <li><a href="Algorithm/DataStructure/DataStructure/UnionFind/POJ%20-%201611.%20The%20Suspects%E4%BB%A5%E5%8F%8A%E5%B9%B6%E6%9F%A5%E9%9B%86%E6%80%BB%E7%BB%93.md">并查集</a></li>
</ul>
<p>其他的可以参考具体的文件夹下，<a href="Algorithm/DataStructure/"><strong>点这里</strong></a></p>
<h2><a href="#二设计模式" id="二设计模式" class="anchor"></a>二、设计模式</h2>
<p>比较简单易懂的总结。</p>
<p><a href="Other/DesignPatterns/">设计模式</a></p>
<ul>
  <li><a href="Other/DesignPatterns/11%E4%BB%A3%E7%90%86%E6%A8%A1%E5%BC%8F(%E4%B8%80).md">动态代理1</a></li>
  <li><a href="Other/DesignPatterns/12%E4%BB%A3%E7%90%86%E6%A8%A1%E5%BC%8F(%E4%BA%8C).md">动态代理2</a></li>
  <li><a href="Other/DesignPatterns/01%E7%AD%96%E7%95%A5%E6%A8%A1%E5%BC%8F.md">策略模式</a></li>
  <li><a href="Other/DesignPatterns/02%E8%A7%82%E5%AF%9F%E8%80%85%E6%A8%A1%E5%BC%8F.md">观察者</a></li>
  <li><a href="Other/DesignPatterns/03%E8%A3%85%E9%A5%B0%E8%80%85%E6%A8%A1%E5%BC%8F.md">装饰者</a></li>
  <li><a href="Other/DesignPatterns/14%E5%8D%95%E4%BE%8B%E6%A8%A1%E5%BC%8F.md">单例模式</a></li>
  <li><a href="Other/DesignPatterns/09%E6%A8%A1%E6%9D%BF%E6%96%B9%E6%B3%95%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F.md">模板方法</a></li>
  <li><a href="Other/DesignPatterns/10%E8%BF%AD%E4%BB%A3%E5%99%A8%E6%A8%A1%E5%BC%8F.md">迭代器</a></li>
  <li><a href="Other/DesignPatterns/07%E9%80%82%E9%85%8D%E5%99%A8%E6%A8%A1%E5%BC%8F(%E4%B8%80).md">适配器1</a></li>
  <li><a href="Other/DesignPatterns/08%E9%80%82%E9%85%8D%E5%99%A8%E6%A8%A1%E5%BC%8F(%E4%BA%8C).md">适配器2</a></li>
  <li><a href="Other/DesignPatterns/04%E7%AE%80%E5%8D%95%E5%B7%A5%E5%8E%82%E6%A8%A1%E5%BC%8F.md">简单工厂</a></li>
  <li><a href="Other/DesignPatterns/05%E5%B7%A5%E5%8E%82%E6%96%B9%E6%B3%95%E6%A8%A1%E5%BC%8F.md">工厂方法</a></li>
  <li><a href="Other/DesignPatterns/06%E6%8A%BD%E8%B1%A1%E5%B7%A5%E5%8E%82%E6%A8%A1%E5%BC%8F.md">抽象工厂</a></li>
</ul>
<h2><a href="#三java基础" id="三java基础" class="anchor"></a>三、Java基础</h2>
<p><a href="Java/">Java基础</a></p>
<ul>
  <li><a href="Java/JVM">JVM</a></li>
  <li><a href="Java/%E5%BC%82%E5%B8%B8/Java%E5%BC%82%E5%B8%B8%E6%80%BB%E7%BB%93.md">异常</a></li>
  <li><a href="Java/%E6%B3%9B%E5%9E%8B/%E6%B3%9B%E5%9E%8B-1-%E5%9F%BA%E7%A1%80%E6%80%BB%E7%BB%93.md">泛型</a></li>
  <li><a href="Java/%E5%8F%8D%E5%B0%84/%E5%8F%8D%E5%B0%84-1-%E5%9F%BA%E7%A1%80.md">反射</a></li>
  <li><a href="Java/Concurrence">并发</a></li>
</ul>
<h2><a href="#四mysql" id="四mysql" class="anchor"></a>四、MYSQL</h2>
<ul>
  <li><a href="DB/MySQL/advance/MYSQL%E4%BA%8B%E5%8A%A1%E5%92%8C%E9%9A%94%E7%A6%BB%E7%BA%A7%E5%88%AB.md">事务和隔离级别</a></li>
  <li><a href="DB/MySQL/advance/MYSQL%E7%B4%A2%E5%BC%95.md">索引</a></li>
  <li><a href="DB/MySQL/advance/MYSQL%E9%94%81%E6%9C%BA%E5%88%B6.md">锁机制</a></li>
  <li><a href="DB/MySQL/advance/MYSQL%E4%B8%BB%E4%BB%8E%E5%A4%8D%E5%88%B6.md">主从复制</a></li>
</ul>
<h2><a href="#五redis" id="五redis" class="anchor"></a>五、Redis</h2>
<ul>
  <li><a href="https://github.com/ZXZxin/ZXBlog/blob/master/%E6%95%B0%E6%8D%AE%E5%BA%93/Redis/Redis%E4%BA%8B%E5%8A%A1%E5%92%8C%E6%B6%88%E6%81%AF%E8%AE%A2%E9%98%85.md">事务和消息订阅</a></li>
  <li><a href="https://github.com/ZXZxin/ZXBlog/blob/master/%E6%95%B0%E6%8D%AE%E5%BA%93/Redis/Redis%E6%8C%81%E4%B9%85%E5%8C%96.md">Redis持久化</a></li>
  <li><a href="https://github.com/ZXZxin/ZXBlog/blob/master/%E6%95%B0%E6%8D%AE%E5%BA%93/Redis/Redis%E4%B8%BB%E4%BB%8E%E5%A4%8D%E5%88%B6.md">主从复制</a></li>
</ul>
<h2><a href="#六操作系统" id="六操作系统" class="anchor"></a>六、操作系统</h2>
<ul>
  <li>
    <p><a href="Basics/OS/OsBasic">操作系统</a></p>
  </li>
  <li><a href="Basics/OS/Linux/LinuxNotes.md">Linux基础</a></li>
  <li><a href="Basics/OS/Linux/Vim.md">Vim常用总结</a></li>
</ul>
<h2><a href="#七计算机网络" id="七计算机网络" class="anchor"></a>七、计算机网络</h2>
<p><a href="Basics/NetWork/">计算机网络</a></p>
<ul>
  <li><a href="Basics/NetWork/1_NetworkProtocol.md">计算机网络协议</a></li>
  <li><a href="Basics/NetWork/2_PhysicalLayer.md">物理层</a></li>
  <li><a href="Basics/NetWork/3_DataLinkLayer.md">数据链路层</a></li>
  <li><a href="Basics/NetWork/4_NetworkLayer.md">网络层</a></li>
  <li><a href="Basics/NetWork/5_TransportLayer.md">传输层</a></li>
  <li><a href="Basics/NetWork/6_ApplicationLayer.md">应用层</a></li>
</ul>
<h2><a href="#八工具" id="八工具" class="anchor"></a>八、工具</h2>
<p>Git.</p>
<ul>
  <li><a href="Tools/Git/Git_1_%E5%9F%BA%E7%A1%80%E5%92%8C%E5%85%A5%E9%97%A8.md">Git基础和入门</a></li>
  <li><a href="Tools/Git/Git_2_%E5%88%86%E6%94%AF%E5%92%8C%E7%89%88%E6%9C%AC%E5%9B%9E%E9%80%80.md">Git分支和版本回退</a></li>
  <li><a href="Tools/Git/Git_3_checkout%E3%80%81stash%E3%80%81%E6%A0%87%E7%AD%BE%E3%80%81diff.md">checkout、stash、标签、diff</a></li>
  <li><a href="Tools/Git/Git_4_%E8%BF%9C%E7%A8%8B%E5%8D%8F%E4%BD%9C%E5%92%8C%E5%88%86%E6%94%AF.md">Git远程协作和分支</a></li>
  <li><a href="Tools/Git/Git_5_%E8%BF%9C%E7%A8%8B%E5%88%86%E6%94%AF%E3%80%81%E6%9C%AC%E5%9C%B0%E5%88%86%E6%94%AF%E3%80%81refspec.md">远程分支、本地分支、refspec</a></li>
</ul>
<p>Docker</p>
<ul>
  <li><a href="Tools/Docker/Docker.md">Docker基础</a></li>
</ul>

                                        </div>
                                    </div>
                                </div>
                                <!--侧边栏-->
                                <div class="flex-shrink-0 col-12 col-md-3">
                                    <div class="wiki-rightbar">
                                        <div id="wiki-pages-box" class="mb-4 wiki-pages-box js-wiki-pages-box" role="navigation">
                                            <div class="Box Box--condensed box-shadow">
                                                <div class="Box-header js-wiki-toggle-collapse" style="cursor: pointer">
                                                    <h3 class="Box-title">
                                                        <svg class="octicon octicon-triangle-down js-wiki-sidebar-toggle-display d-none"
                                                             viewBox="0 0 16 16" version="1.1" width="16" height="16"
                                                             aria-hidden="true">
                                                            <path d="M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"></path>
                                                        </svg>
                                                        <svg class="octicon octicon-triangle-right js-wiki-sidebar-toggle-display"
                                                             viewBox="0 0 16 16" version="1.1" width="16" height="16"
                                                             aria-hidden="true">
                                                            <path d="M6.427 4.427l3.396 3.396a.25.25 0 010 .354l-3.396 3.396A.25.25 0 016 11.396V4.604a.25.25 0 01.427-.177z"></path>
                                                        </svg>
                                                        Pages <span title="4" class="Counter Counter--gray ">4</span>
                                                    </h3>
                                                </div>
                                                <div class="d-none js-wiki-sidebar-toggle-display">
                                                    <div class="filter-bar">
                                                        <input type="text" id="wiki-pages-filter" class="form-control input-sm input-block js-filterable-field" placeholder="Find a Page…" aria-label="Find a Page…" autocomplete="off">
                                                    </div>
                                                    <ul class="m-0 p-0 list-style-none" data-filterable-for="wiki-pages-filter" data-filterable-type="substring" data-pjax="">
                                                        <li class="Box-row">
                                                            <strong><a class="d-block" href="/ShiFengCui/java-developer-reflection/wiki">Home</a></strong>
                                                        </li>
                                                    </ul>
                                                </div>
                                            </div>

                                        </div>

                                        <div class="gollum-markdown-content">
                                            <div class="Box Box--condensed mb-4">
                                                <div id="wiki-custom-sidebar" class="Box-body wiki-custom-sidebar markdown-body">

                                                </div>
                                            </div>
                                        </div>

                                    </div>

                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </transition>
    </main>
</div>
<!--底部-->

<div class="footer container-lg width-full p-responsive" role="contentinfo">
    <div class="position-relative d-flex flex-row-reverse flex-lg-row flex-wrap flex-lg-nowrap flex-justify-center flex-lg-justify-between pt-6 pb-2 mt-6 f6 text-gray border-top border-gray-light ">
        <ul class="list-style-none d-flex flex-wrap col-12 col-lg-5 flex-justify-center flex-lg-justify-between mb-2 mb-lg-0">
            <li id="bottom-site-atr" class="mr-3 mr-lg-0">Â© 2021 cuishifeng.gitee.io, Inc.
                <a id="bottom-site-name" href="/">cuishifeng's wiki</a>
            </li>
        </ul>
    </div>
    <div class="d-flex flex-justify-center pb-6">
        <span class="f6 text-gray-light"></span>
    </div>
</div>
<script src="/cuishifeng/assets/js/jquery.min.js"></script>
<script src="/cuishifeng/assets/js/helper.js"></script>
<script src="/cuishifeng/data/personal-info.js"></script>
<script src="/cuishifeng/data/directory.js"></script>
</body>
</html>
